package com.example.ResumeWorkPlatform.dao;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
/**
 * @ClassName:  GerdenDao
 * @Description: 工业园区Dao
 * @Author chengweinxg
 * @DateTime 2021-03-29 16:52:58
 */
@Repository
public interface GerdenDao extends JpaRepository<GerdenEntity,Long>{
	
	/**
	 * @Title: findByDelflag 
	 * @Description: 根据是否删除获取数据
	 * @Exception: 
	 * @Author chengwenxing
	 * @DateTime 2021-03-20 13:35:01 
	 * @param delflag
	 * @return GerdenEntity
	 */
	List<GerdenEntity> findByDelFlag(boolean delFlag);
	/**
	 * 根据工业园区姓称和是否删除获取用户信息
	 * @param gerdenName
	 * @DateTime 2021-03-20 13:35:01 
	 * @param deldlag
	 * @return
	 */
	GerdenEntity findByGerdenNameAndDelFlag(String gerdenName,boolean delFlag);
	/**
	 * 
	 * @Title: findByIdAndDelFlag
	 * @Description: 根据ID和删除标识查找
	 * @param studentname
	 * @DateTime 2021-03-20 13:35:01 
	 * @param id
	 * @param delFlag
	 * @return
	 */
	GerdenEntity findByIdAndDelFlag(Long id,boolean delFlag);
	
	

}

